//
//  Extension.swift
//  ImagePickerKit
//
//  Created by Taurin Tao on 16/7/18.
//  Copyright © 2016年 tao.520it. All rights reserved.
//

import Foundation

extension NSBundle {
    static var mainInfoDictionary: NSDictionary? {
        get { return NSBundle.mainBundle().infoDictionary }
    }
    
    static var appName: String {
        get { return mainInfoDictionary?["CFBundleName"] as? String ?? "" }
    }
    
    static var appVersion: String {
        get { return mainInfoDictionary?["CFBundleShortVersionString"] as? String ?? "" }
    }
    
    static var developVersion: String {
        get { return mainInfoDictionary?["CFBundleVersion"] as? String ?? "" }
    }
}
